<!DOCTYPE html>
<html>
    <head>
        <title>360湘江世纪城</title>
        <#include "../controls/public_header.ftl">
        <script type="text/javascript">
			var openMenu = "mc-3";
			var selectMenu = "cld0-mc-3";
		</script>
        <script type="text/javascript"> var basePath = "${model._contextPath}"; </script>
        <script type="text/javascript" src="${model._contextPath}/web/resources/js/manage/menu.js"></script>
        <script type="text/javascript" src="${model._contextPath}/web/resources/lib/uploadify/jquery.uploadify.min.js"></script>
        <script type="text/javascript" src="${model._contextPath}/web/resources/lib/My97DatePicker/WdatePicker.js"></script>
        <script type="text/javascript" src="${model._contextPath}/web/resources/lib/utils/ajaxutil.js"></script>
        <script type="text/javascript" src="${model._contextPath}/web/resources/js/manage/user_info.js"></script>
        <style>
        .uploadify-button {
		    text-decoration:underline;
		    color:blue
		}
		.uploadify:hover .uploadify-button {
		    text-decoration:underline;
		    color:green
		}
		.uploadify-queue {
			display: none;
		}
        </style>
    </head>
    <body>
		<div id="container">
			<#include "../controls/header.ftl">
			<div id="main">
				<div class="Lay_8">
					<div class="bt"><span class="btzi1">我的社区</span>&gt;个人资料</div>
					<div class="nr">
						<!-- 左导航《我的交易》-->
						<#include "../controls/manage_menu.ftl">
						<!-- 个人资料-->
						<div class="grzl">
							<#if model.userinfo?exists && model.userinfo?has_content && (model.userinfo?size>0) >
							<div class="zcxx_form">
								<div class="zct" style="position:relative">
									<div class="zczi">当前头像：</div>
									<div><img id="uploadImg" style=" margin-left:70px" src="<#if model.userinfo[0].photo?has_content>${model._contextPath}${model.userinfo[0].photo}<#else>${model._contextPath}/web/resources/images/tou.jpg</#if>" width="115" height="115"></div>
									<div style="margin-left:326px">
										<input type="hidden" id="photo" name="photo" value="${model.userinfo[0].photo}">
										<div id="uploadify"><input id="file_upload" type="file" /></div>
									</div>
								</div>
								<div class="zct" style="position:relative">
									<div class="zczi">真实姓名：</div>
									<div><input id="realname" name="realname" value="${model.userinfo[0].realname}" type="text" class="wby1"></div>
						  		</div>
								<div class="zct" style="position:relative">
									<div class="zczi">性别：</div>
									<div style="padding-top:10px;font-size:14px;color:#999999;">
										<input name="sex" type="radio" value="男" <#if model.userinfo[0].sex == "男">checked="true"</#if>/> 男 
										&nbsp;&nbsp;&nbsp;&nbsp;
										<input name="sex" type="radio" value="女" <#if model.userinfo[0].sex == "女">checked="true"</#if>/> 女
									</div>
						  		</div>
								<div class="zct" style="position:relative">
									<div class="zczi">生日：</div>
									<div><input id="birthday" name="birthday" value="<#if model.userinfo[0].birthday?has_content>${model.userinfo[0].birthday[0..10]}</#if>" type="text" onfocus="WdatePicker()" class="Wdate wby1" readonly="readonly"></div>
						  		</div>
								<div class="zct" style="position:relative">
									<div class="zczi">手机号码：</div>
									<div><input id="mobile" name="mobile" value="${model.userinfo[0].mobile}" type="text" class="wby1"></div>
						  		</div>
								<div class="zct" style="position:relative">
									<div class="zczi">电子邮箱：</div>
									<div><input id="email" name="email" value="${model.userinfo[0].email}" type="text" class="wby1"></div>
						  		</div>
								<div class="zct" style="position:relative">
									<div class="zczi">家庭地址：</div>
									<div>
										<input id="address" name="address" value="${model.userinfo[0].address}" type="text" class="wby">
									</div>
								</div>
								<div class="zct" style="position:relative">
									<div class="zczi">个性签名：</div>
									<div>
								    	<textarea id="remark" name="remark" value="${model.userinfo[0].remark}" class="wbya"></textarea>
									</div>
						  		</div>
								<div class="zct1"><img src="${model._contextPath}/web/resources/images/bc.jpg" id="btn_save" style="cursor:pointer"></div>
							</div>
							</#if>
						</div>
					</div>
				</div>
			</div>
			<div width="100%" height="127"> 
				<#include "../controls/footer.ftl">
			</div>
		</div>
    </body>
</html>